//
//  YYAudioTool.h
//  音乐播放器
//
//  Created by zpy on 15/11/28.
//  Copyright © 2015年 zpy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface YYAudioTool : NSObject
/**
 *  播放音乐
 */
+(AVAudioPlayer *)playMusicWithName: (NSString *) musicName;
/**
 *  暂停音乐
 */
+(void)pauseMusicWithName: (NSString *) musicName;
/**
 *  停止音乐
 */
+(void)stopMusicWithName: (NSString *) musicName;
@end
